<?php 
	$auth = new Myh_System_Info();
	$info = $auth->getMemberInfo();
	$accountsLink 	= $this->baseUrl('admin/account/accounts');
	$accountLink	= $this->baseUrl('admin/account/index');
	$roleLink		= $this->baseUrl('admin/account/role');
	$cateNewsLink	= $this->baseUrl('admin/news/category-list');
	$listNewsLink	= $this->baseUrl('admin/news/');
	$cacheLink		= $this->baseUrl('admin/cache/');
?>
<div id="wrapper">
	<div id="header">
		<div id="top-menu">
			<a href="<?php echo $accountLink;?>" title="My account">Tài khoản</a> |
			<a href="#" title="Settings">Cài đặt</a> |
			
			<span>Xin chào <a href="<?php echo $accountLink;?>" title="Logged in as admin"><?php echo $info['firstname'].' '.$info['lastname'];?></a></span>
			
			| <a href="/cmath/admin/account/logout" title="Logout">Thoát</a>
		</div>
		<div id="sitename">
			<a href="/cmath/admin" class="logo float-left" title="Admintasia">Gioi Toan Adminpanel</a>
		</div>
		<ul id="navigation" class="sf-navbar">
			<li>
				<a href="/cmath/admin">Trang chủ</a>
				
			</li>
			<li>
				<a href="#">Người dùng</a>
				<ul>
					<li>
						<a href="#">Menu item 1</a>
						<ul>
							<li><a href="#">Subitem 1</a></li>
							<li><a href="#">Subitem 2</a></li>
						</ul>
					</li>
					<li>
						<a href="#">Menu item 2</a>
					</li>
					<li>
						<a href="#">Menu item 3</a>
					</li>
					<li>
						<a href="#">Menu item 4</a>
						<ul>
							<li><a href="#">Subitem 1</a></li>
							<li>
								<a href="#">Subitem 2</a>
								<ul>
									<li><a href="#">Subitem 1</a></li>
									<li>
										<a href="#">Subitem 2</a>
										<ul>
											<li><a href="#">Subitem 1</a></li>
											<li>
												<a href="#">Subitem 2</a>
											</li>
										</ul>
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li>
						<a href="#">Menu item 5</a>
						<ul>
							<li><a href="#">Subitem 1</a></li>
							<li><a href="#">Subitem 2</a></li>
						</ul>
					</li>
					<li>
						<a href="#">Menu item 6</a>
					</li>
					<li>
						<a href="#">Menu item 7</a>
					</li>
				</ul>
			</li>
			<li>
				<a href="#">Tin Tức</a>
				<ul>
					<li>
						<a href="<?php echo $listNewsLink;?>">Danh sách tin</a>
					</li>
					<li>
						<a href="<?php echo $cateNewsLink;?>">Danh mục tin</a>
					</li>
				</ul>
			</li>
			<li>
				<a href="#">Bài viết</a>
				<ul>
					<li>
						<a href="three-columns-layout.html">Danh bài viết</a>
					</li>
					<li>
						<a href="<?php echo $cateNewsLink;?>">Quản lý danh mục</a>
					</li>
					<li>
						<a href="three-column-small-layout.html">One big, two small</a>
					</li>
				</ul>
			</li>
			<li>
				<a href="#">Báo cáo &amp; Thống kê</a>
				<ul>
					<li>
						<a href="accordion.html">Thống kê người dùng</a>
					</li>
					<li>
						<a href="tabs.html">Thống kê bài viết</a>
					</li>
					<li>
						<a href="overlays.html">Overlays</a>
					</li>
				</ul>
			</li>
			<li>
				<a href="#">Hệ thống</a>
				<ul>
					<li>
						<a href="<?php echo $accountLink;?>">Tài khoản</a>
					</li>
					<li>
						<a href="#">Quản lý quền</a>
						<ul>
							<li>
								<a href="<?php echo $accountsLink;?>">Các tài khoản</a>
							</li>
							<li>
								<a href="<?php echo $roleLink;?>">Các quyền</a>
							</li>
						</ul>
					</li>
					<li>
						<a href="<?php echo $cacheLink;?>">Quản lý Cache</a>
					</li>
					<li>
						<a href="overlays.html">Cấu hình</a>
					</li>
				</ul>
			</li>
		</ul>
	</div>
